package org.example.project_12.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.project_12.entity.SpaceDoc;
import java.util.List;

@Mapper
public interface SpaceDocMapper {
    int insert(SpaceDoc spaceDoc);
    int deleteByDocId(Long docId);
    int deleteBySpaceId(Long spaceId);
    List<Long> selectDocIdsBySpaceId(Long spaceId);
    Long selectSpaceIdByDocId(Long docId);
}